package top.healthylife.gateway.platformchain.api.config;


import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import top.healthylife.gateway.core.config.BaseConfig;
import top.healthylife.gateway.dto.annotation.SystemInfo;
import top.healthylife.gateway.dto.annotation.SystemInfoField;

import java.io.Serializable;

/**
 * @author cl
 * @version 1.0
 * @date 2020/4/10 17:48
 */
@SystemInfo(systemName = "区块链", shortName = "chain")
@Data
@Configuration
@Accessors(chain = true)
@ConfigurationProperties(prefix = "system")
public class SystemConfig extends BaseConfig implements Serializable {
    private static final long serialVersionUID = -4735148160159528848L;

    @SystemInfoField(value = "aes加密解密秘钥")
    private String aesEncryptionKey;
}
